package com.hilaver.dzmis.product;

import java.util.Date;

import com.hilaver.dzmis.basicinfo.BiFactory;

public class ProductLaunching {
	
	private Integer id;
	private String size;
	private String variant;
	private Integer quantity1;
	private String isSwatch;
	private String isStock;
	private Integer quantity2;
	private Date orderDate;
	private String orderNumber;
	private ProductIdentification productIdentification;
	
	private Date scheduleDate;
	private Integer quantity;
	private Date stockDate;
	private Integer quantityConsistent;
	private Integer quantityNotConsistent;
	private BiFactory biFactory;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getVariant() {
		return variant;
	}
	public void setVariant(String variant) {
		this.variant = variant;
	}
	public Integer getQuantity1() {
		return quantity1;
	}
	public void setQuantity1(Integer quantity1) {
		this.quantity1 = quantity1;
	}
	public String getIsSwatch() {
		return isSwatch;
	}
	public void setIsSwatch(String isSwatch) {
		this.isSwatch = isSwatch;
	}
	public String getIsStock() {
		return isStock;
	}
	public void setIsStock(String isStock) {
		this.isStock = isStock;
	}
	public Integer getQuantity2() {
		return quantity2;
	}
	public void setQuantity2(Integer quantity2) {
		this.quantity2 = quantity2;
	}
	public Date getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}
	public String getOrderNumber() {
		return orderNumber;
	}
	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}
	public ProductIdentification getProductIdentification() {
		return productIdentification;
	}
	public void setProductIdentification(ProductIdentification productIdentification) {
		this.productIdentification = productIdentification;
	}
	
	
	public Date getScheduleDate() {
		return scheduleDate;
	}
	
	public void setScheduleDate(Date scheduleDate) {
		this.scheduleDate = scheduleDate;
	}
	
	public Integer getQuantity() {
		return quantity;
	}
	
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	
	public Date getStockDate() {
		return stockDate;
	}
	
	public void setStockDate(Date stockDate) {
		this.stockDate = stockDate;
	}
	
	public Integer getQuantityConsistent() {
		return quantityConsistent;
	}
	
	public void setQuantityConsistent(Integer quantityConsistent) {
		this.quantityConsistent = quantityConsistent;
	}
	
	public Integer getQuantityNotConsistent() {
		return quantityNotConsistent;
	}
	
	public void setQuantityNotConsistent(Integer quantityNotConsistent) {
		this.quantityNotConsistent = quantityNotConsistent;
	}
	
	public BiFactory getBiFactory() {
		return biFactory;
	}
	
	public void setBiFactory(BiFactory biFactory) {
		this.biFactory = biFactory;
	}
	
	public ProductLaunching cloneOne(){
		ProductLaunching newOne = new ProductLaunching();
		newOne.setIsStock("02");
		newOne.setIsSwatch(this.isSwatch);
		newOne.setQuantity1(this.quantity1);
		newOne.setQuantity2(this.quantity2);
		newOne.setSize(this.size);
		newOne.setOrderDate(this.orderDate);
		newOne.setOrderNumber(this.orderNumber);
		newOne.setVariant(this.variant);
		return newOne;
	}
	@Override
	public String toString() {
		return this.orderNumber + "-" + this.variant;
	}
}
